package com.hq.common.utils;

import com.hq.common.domain.MailSender;

/**
 * Created by XQ on 2015/7/23.
 */
public class MailSenderFactory {

    /**
     * 服务邮箱
     */
    private static MailSender serviceSms = null;

    /**
     * 获取邮箱
     *
     * @return 符合类型的邮箱
     */
    public static MailSender getInstance() {
        if (serviceSms == null) {
            serviceSms = new MailSender();
        }
        return serviceSms;
    }
}
